<template>
  <div id='DetailSwiper'>
    <swiper class="topswiper">
      <swiper-item v-for="item in topimg">
        <img :src="item" alt="">
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
  import { Swiper, SwiperItem } from 'components/common/Swiper/index.js'
  export default {
    name: 'DetailSwiper',
    data() {
      return {}
    },
    props: {
      topimg: {
        type: Array,
        default() {

        }
      }
    },
    components: {
      Swiper, SwiperItem
    },
    methods: {},
  }
</script>

<style scoped>
  .topswiper {
    height: 300px;
    margin-top: 44px;
  }
</style>